package cn.cdeden.knowledge.mapper;

import cn.cdeden.common.mybatis.core.mapper.BaseMapperPlus;
import cn.cdeden.knowledge.domain.EnterprisePerm;
import cn.cdeden.knowledge.domain.vo.EnterpriseMemberVo;
import cn.cdeden.knowledge.domain.vo.EnterprisePermVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EnterprisePermMapper extends BaseMapperPlus<EnterprisePerm,EnterprisePerm> {

    public IPage<EnterpriseMemberVo> selectEnterpriseMemberVo(Long treeNodeId, String nickName, List<Long> deptIds, List<String> params, List<Integer> types, IPage<EnterprisePermVo> page);

    public List<EnterpriseMemberVo> selectEnterpriseMemberVo(Long treeNodeId, String nickName, List<Long> deptIds,List<String> params, List<Integer> types);
    public IPage<EnterpriseMemberVo> selectEnterpriseMemberVoNew(Long treeNodeId, String permName,List<String> params, List<String> types,IPage<EnterprisePermVo> page);

    public List<EnterpriseMemberVo> selectEnterpriseMemberVoNew(Long treeNodeId, String permName, List<String> params, List<String> types);
}
